import { useNavigate } from "react-router-dom"

const FloatBack = () => {
    const navigate = useNavigate();
    return (
        <div onClick={() => navigate(-1)} className="absolute bottom-[20px] left-[15px] w-[56px] h-[56px] shadow-lg text-[36px]/12 flex justify-center text-gray-500 bg-white rounded-full">‹</div>
    )
}

export default FloatBack